<?php
/**
 * 获取数据
 *
 * @category 
 * @package 
 * @author chenping<chenping@shopex.cn>
 * @version $Id: Z
 */
class ome_event_trigger_shop_data_delivery_shopex extends ome_event_trigger_shop_data_delivery_common
{
    public function get_sdf($delivery_id)
    {
        $this->__sdf = parent::get_sdf($delivery_id);

        if ($this->__sdf) {
            $this->_get_delivery_items_sdf($delivery_id);

            $this->_get_order_objects_sdf($delivery_id);

            $this->_get_members_sdf($delivery_id);
            $this->_get_split_sdf($delivery_id);
            $this->__sdf['split_model'] = $this->_is_split_switch($delivery_id);
        }

        return $this->__sdf;
    }

    /**
     * 获取添加发货单SDF
     *
     * @return void
     * @author 
     **/
    public function get_add_delivery_sdf($delivery_id)
    {
        return $this->get_sdf($delivery_id);
    }
}